import { useAppStore } from './app';
import { useUserStore } from './user';
import { useAuthStore } from './auth';

import type { App } from "vue";
import { createPinia } from "pinia";

const store = createPinia();

export function setupStore(app: App<Element>) {
  app.use(store);
}

export { store };


export { useAppStore, useUserStore, useAuthStore };